package com.sita.tboard.roadtrust.event;

/**
 * Created by xiaodong on 16/3/24.
 */
public class RtResourceRefreshEvent {
    public enum Mode {
        REFRESH, MORE, DELETE
    }
    private Mode mMode;
    private boolean hasData;
    public RtResourceRefreshEvent(Mode mode){
        mMode = mode;
    }

    public Mode getMode() {
        return mMode;
    }

    public boolean getHasData() {
        return hasData;
    }

    public RtResourceRefreshEvent setHasData(boolean hasData) {
        this.hasData = hasData;
        return this;
    }
}
